package com.restTemplate.controller;

import com.restTemplate.entity.Info;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author CKC
 * @DateTime 2021/12/11 20:08
 */
@RestController
public class sdfdfd {

    @PostMapping("/hello")
    public String sds(@RequestBody Info info) {
        return "new JSONObject(info).toString()" + info.toString();
    }
}
